package com.key.common.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.List;

@ApiModel(value = "删除或者修改时需要传到后台的参数")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class StocktakingSurplusDTO {
    @ApiModelProperty(name = "sfNo",notes = "盘点单号",required = true)
    private String sfNo;

    @ApiModelProperty(name = "assetsIds",notes = "资产id数组",required = true)
    private List<Long> assetsIds;

    @ApiModelProperty(name = "srResult",notes = "盈亏结果")
    private String srResult;

    @ApiModelProperty(name = "srState",notes = "盘点状态(1:未盘点，2:已盘点)")
    private Integer srState;

    @ApiModelProperty(name = "srRemark",notes = "盘点备注")
    private String srRemark;

    @ApiModelProperty(name = "srStocktakingTime",notes = "盘点时间")
    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd",timezone="GMT+8")
    private Timestamp srStocktakingTime;

    @ApiModelProperty(name = "srStocktakingMan",notes = "盘点人")
    private String srStocktakingMan;

    @ApiModelProperty(name = "editedAssetsRegion",notes = "修改后的区域")
    private String editedAssetsRegion;

    @ApiModelProperty(name = "editedAssetsStorageLocation",notes = "修改后的存放地点")
    private String editedAssetsStorageLocation;

    @ApiModelProperty(name = "editedCompanyName",notes = "修改后的使用公司")
    private String editedCompanyName;

    @ApiModelProperty(name = "editedDepartmentName",notes = "修改后的使用公司")
    private String editedDepartmentName;

    @ApiModelProperty(name = "editedEmployeeName",notes = "修改后的使用人")
    private String editedEmployeeName;
}
